CC=g++
CFLAGS=-g -Wall -pthread

all : client

client: client.o sock.o sockdist.o
	$(CC) $(CFLAGS) -o $@ $+
	
.hpp.cpp:
	touch $*.cpp

.cpp.o:
	$(CC) $(CFLAGS) -c $<

.cpp:
	$(CC) $(CFLAGS) -o $* $<
	
clean:
	rm *.o *~ client
